load("@aspect_rules_ts//ts:defs.bzl", "ts_config")
load("//tools:defaults.bzl", "ts_project")

package(default_visibility = ["//visibility:public"])

ts_config(
    name = "tsconfig",
    src = "tsconfig.json",
    deps = [
        "//src/cdk/schematics:tsconfig",
    ],
)

ts_project(
    name = "update-tool",
    srcs = glob(["**/*.ts"]),
    tsconfig = ":tsconfig",
    deps = [
        "//:node_modules/@types/node",
        "//:node_modules/typescript",
    ],
)
